package com.spongeli.user.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.spongeli.entity.AlipayAdmin;
import com.spongeli.entity.AlipayAdminExample;
import com.spongeli.user.datasource.DataSource;
import com.spongeli.user.datasource.DataSourceCons;

public interface AlipayAdminMapper {
    int countByExample(AlipayAdminExample example);

    int deleteByExample(AlipayAdminExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(AlipayAdmin record);

    int insertSelective(AlipayAdmin record);
    //@DataSource(DataSourceCons.test)
    List<AlipayAdmin> selectByExample(AlipayAdminExample example);

    AlipayAdmin selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") AlipayAdmin record, @Param("example") AlipayAdminExample example);

    int updateByExample(@Param("record") AlipayAdmin record, @Param("example") AlipayAdminExample example);

    int updateByPrimaryKeySelective(AlipayAdmin record);

    int updateByPrimaryKey(AlipayAdmin record);
}